﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ADO.NET.Samples.Common;

namespace ADO.NET.Samples.Forms
{
    [FormDescription("DataGridView Data Binding", "Demonstrate how to bind data with DataSet in DataGridView.")]
    public partial class DataGridViewBindingForm : Form
    {
        public DataGridViewBindingForm()
        {
            InitializeComponent();
        }

        private void MainForm_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dBDataSet.User' table. You can move, or remove it, as needed.
            this.userTableAdapter.FillUsers(this.dBDataSet.User);

        }
    }
}
